projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4b340c
)
(rmail-edit-current-message): Make local variables permanent, so
author
Karl Heuer
<kwzh@gnu.org>
Tue, 8 Feb 1994 22:26:30 +0000
(22:26 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Tue, 8 Feb 1994 22:26:30 +0000
(22:26 +0000)
the user can safely change major modes during an edit.
lisp/mail/rmailedit.el
patch
|
blob
|
history
diff --git
a/lisp/mail/rmailedit.el
b/lisp/mail/rmailedit.el
index c6c355a5a8ae86bece5bf603f79444b75abaeaf0..700990dadd592b761b022fd65f9c8393d6a09641 100644
(file)
--- a/
lisp/mail/rmailedit.el
+++ b/
lisp/mail/rmailedit.el
@@
-58,6
+58,7
@@
to return to regular RMAIL:
(rmail-edit-mode)
(make-local-variable 'rmail-old-text)
(setq rmail-old-text (buffer-substring (point-min) (point-max)))
+ (put 'rmail-old-text 'permanent-local t)
(setq buffer-read-only nil)
(set-buffer-modified-p (buffer-modified-p))
;; Make mode line update.